#ifndef VLMODEBAR_H
#define VLMODEBAR_H

#include <QToolBar>
#include <QLabel>
#include <string>
#include "vlmodebutton.h"
#include <QObject>
#include <QEvent>
using namespace std;


class VLModeBar : public QToolBar
{
    Q_OBJECT
public:
    explicit VLModeBar(QWidget * parent = 0);
    
signals:
    void modeChanged(QString mode);

public slots:
    void setMode(QString mode);

private:
    VLModeButton *gameModeBtn;
    VLModeButton *createModeBtn;
    QString currentMode;
    QLabel *modeLabel;
};

#endif // VLMODEBAR_H
